use axum::{
    routing::get,
    Router,
};
use com::sse::state::state;
// use tower_http::trace::{DefaultMakeSpan, TraceLayer};
mod master;

pub fn router() -> Router{
    Router::new()
    .route("/api/sys/tests", get(master::test))
    .route("/sse", get(com::sse::sse_handler))
    .with_state(state())
}